New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mofron

Package Overview
Dependencies
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mofron

front-end framework for javascript

  • 0.1.23
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

mofron

mofron is JavaScript Framework for Web UI.
It encapsulations the elements of the front-end (html, css, etc. ..) and provides APIs like Swing and .NET.
If you have developed a GUI with Swing or .NET, you can do web development smoothly.

Install

npm install --save-dev mofron 

Quick Start

you need webpack

<html>
    <head></head>
    <body style="margin:0px;padding:0px;"></body>
    <script src='./path/to/webpack/output.js'></script>
</html>

example (button display)

require('mofron'); 
require('mofron-comp-button');

// simple use
new mofron.comp.Button('test').init(); 

var btn = new mofron.comp.Button('size');
btn.width(150);        // set width to 150px
btn.init();                   // set to DOM
btn.height(30);         // enable changing after inited
btn.style('background', 'white');  // css setting

var click = new mofron.comp.Button('click');
click.setClickEvent(function() {
    alert('click');        // click event
});
click.init();

more

Keywords

FAQs

Package last updated on 26 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc